<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="tCarInfoList" checkbox="true" pagination="true" fitColumns="false" title="车辆主数据" actionUrl="tCarInfoController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="操作" field="opt" width="60"></t:dgCol>

   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建人名称"  field="createName"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建人登录名称"  field="createBy"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建日期"  field="createDate"  formatter="yyyy-MM-dd"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="更新人名称"  field="updateName"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="更新人登录名称"  field="updateBy"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="更新日期"  field="updateDate"  formatter="yyyy-MM-dd"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="所属部门"  field="sysOrgCode"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="所属公司"  field="sysCompanyCode"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="流程状态"  field="bpmStatus"  hidden="true"  queryMode="single"  dictionary="bpm_status"  width="120"></t:dgCol>
   <t:dgCol title="车牌号"  field="carNum"  query="true"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="车型"  field="carType"  query="true"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="荷载人数"  field="carHzrs"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="所需驾照"  field="carJiashizheng"  query="true"  queryMode="single"  dictionary="jiashizh"  width="80"></t:dgCol>
   <t:dgCol title="购买金额"  field="carBuyMoney"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="购置时间"  field="carBuyDate"  formatter="yyyy-MM-dd"  queryMode="single"  width="100"></t:dgCol>
   <t:dgCol title="车架号"  field="carVmi"  query="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="发动机号"  field="carEngineno"  query="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="排气量升"  field="carPaiqiliang"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="载重吨"  field="carZaizhong"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="燃油类型"  field="carFuel"  query="true"  queryMode="single"  dictionary="car_fuel"  width="80"></t:dgCol>
   <t:dgCol title="驾驶员"  field="carDriver"  query="true"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="年检日期1"  field="njRiqi1"  formatter="yyyy-MM-dd"  queryMode="single"  width="100"></t:dgCol>
   <t:dgCol title="年检日期2"  field="njRiqi2"  formatter="yyyy-MM-dd"  queryMode="single"  width="100"></t:dgCol>
   <t:dgCol title="状态"  field="carStatus"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="备用1"  field="by1" hidden="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="备用2"  field="by2" hidden="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="备用3"  field="by3" hidden="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="备用4"  field="by4" hidden="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="备用5"  field="by5" hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="厂牌型号"  field="carChpxh"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="车辆外廓尺寸"  field="carClwgchc"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="办证时间"  field="carBzsj"  formatter="yyyy-MM-dd"  queryMode="single"  width="100"></t:dgCol>
   <t:dgCol title="发动机功率"  field="carFdjgl"  queryMode="single"  width="100"></t:dgCol>
   <t:dgCol title="核定人数"  field="carHdrsh"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="驱动形式"  field="carQdxsh"  queryMode="single"  dictionary="qdxsh"  width="80"></t:dgCol>
   <t:dgCol title="变速器形式"  field="carBsqxsh"  queryMode="single"  dictionary="bsqxsh"  width="100"></t:dgCol>
   <t:dgCol title="车身颜色"  field="carCsys"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="承保公司"  field="carChbgs"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="总质量吨"  field="carZhil"  queryMode="single"  width="80"></t:dgCol>
   <%--<t:dgCol title="照片"  field="carPic"  queryMode="single"  image="true" imageSize="50,50"  width="120"></t:dgCol>--%>
   <t:dgDelOpt title="删除" url="tCarInfoController.do?doDel&id={id}" urlclass="ace_button"  urlfont="fa-trash-o"/>
   <t:dgToolBar title="录入" icon="icon-add" url="tCarInfoController.do?goAdd" funname="add"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="tCarInfoController.do?goUpdate" funname="update"></t:dgToolBar>
   <%--<t:dgToolBar title="批量删除"  icon="icon-remove" url="tCarInfoController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>--%>
   <t:dgToolBar title="查看" icon="icon-search" url="tCarInfoController.do?goUpdate" funname="detail"></t:dgToolBar>
   <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>
   <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
   <%--<t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar>--%>
  </t:datagrid>
  </div>
 </div>
 <script src = "webpage/com/yserp/car/tCarInfoList.js"></script>		
 <script type="text/javascript">
 $(document).ready(function(){
 });
 
   
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'tCarInfoController.do?upload', "tCarInfoList");
}

//导出
function ExportXls() {
	JeecgExcelExport("tCarInfoController.do?exportXls","tCarInfoList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("tCarInfoController.do?exportXlsByT","tCarInfoList");
}

 </script>